package com.ruoyi.cloudpc.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轮播图对象 cloud_slideshow
 *
 * @author Ten
 * @date 2025-09-16
 */
public class CloudSlideshow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 售后ID
     */
    private Long id;

    /**
     * 售后状态（待处理、已处理）
     */
    @Excel(name = "售后状态", readConverterExp = "待=处理、已处理")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 商品id，为空时代表首页使用（备用字段）
     */
    @Excel(name = "商品id，为空时代表首页使用", readConverterExp = "备=用字段")
    private Long productId;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String url;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String label;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getLabel() {
        return label;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("productId", getProductId())
                .append("url", getUrl())
                .append("label", getLabel())
                .toString();
    }
}
